#include "EtatEnChargeFaceObstacle.h"
#include "EtatEnCharge.h"
#include "EtatAVideFaceObstacle.h"

void EtatEnChargeFaceObstacle::tourner(Robot* r) {
	r->setEtat(EtatEnCharge::getEtat());
	r->setEtatCourant("EtatEnCharge");
}

int EtatEnChargeFaceObstacle::peser() {
	return 1;
}

void EtatEnChargeFaceObstacle::poser(Robot* r) {
	r->setEtat(EtatAVideFaceObstacle::getEtat());
	r->setEtatCourant("EtatAVideFaceObstacle");
}
